﻿using System;
using System.Collections.Generic;
using System.Text;

namespace UtilZ.Dotnet.Ex.Model
{
    /// <summary>
    /// 带泛型参数的事件参数
    /// </summary>
    /// <typeparam name="T"></typeparam>
    public class EventArgs<T> : EventArgs
    {
        /// <summary>
        /// 参数
        /// </summary>
        public T Para { get; set; }


        /// <summary>
        /// 构造函数
        /// </summary>
        public EventArgs()
        {

        }

        /// <summary>
        /// 构造函数
        /// </summary>
        /// <param name="para">参数</param>
        public EventArgs(T para)
        {
            this.Para = para;
        }
    }
}
